<nav class="navbar-default navbar-static-side" role="navigation">
    <div class="sidebar-collapse">
        <ul class="nav metismenu" id="side-menu">
            <li class="nav-header">
                <div class="dropdown profile-element">
                    <img alt="image" class="rounded-circle" src="${ctx}${hreftop}/img/profile_small.jpg">
                    <a data-toggle="dropdown" class="dropdown-toggle" href="#">
                        <span class="block m-t-xs font-bold">ybadmin</span>
                        <span class="text-muted text-xs block">系统管理员<b class="caret"></b></span>
                    </a>
                    <ul class="dropdown-menu animated fadeInRight m-t-xs">
                        <li><a class="dropdown-item" href="/security/logout">退出登录</a></li>
                    </ul>
                </div>
            </li>
            <li class="<#if pic??>active</#if>">
                <a href="">
                    <i class="fa fa-th-large"></i>
                    <span class="nav-label">图片管理</span>
                    <span class="fa arrow"></span>
                </a>
                <ul class="nav nav-second-level collapse">
                    <li class="<#if typeFlg?? && typeFlg == 1>active</#if>" >
                        <a href="${ctx}${hreftop}/admin/imgs.do?type=1">电脑端</a>
                    </li>
                    <li class="<#if typeFlg?? && typeFlg == 2>active</#if>" >
                        <a href="${ctx}${hreftop}/admin/imgs.do?type=2">移动端</a>
                    </li>
                </ul>
            </li>
        </ul>
    </div>
</nav>